/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.basic.hazard.source.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hopes.bizz.basic.gis.vo.hazard.HazLevelTotalVO;
import com.hopes.bizz.basic.gis.vo.hazard.HazSensorClassifyVO;
import com.hopes.bizz.basic.gis.vo.hazard.HazVideoVO;
import com.hopes.bizz.basic.hazard.source.dto.HazHazardSourceExcelDTO;
import com.hopes.bizz.basic.hazard.source.entity.HazHazardSourceEntity;
import com.hopes.bizz.basic.hazard.source.vo.HazHazardSourceExcelVO;
import com.hopes.bizz.basic.hazard.source.vo.HazHazardSourceGisVO;
import com.hopes.bizz.basic.hazard.source.vo.HazHazardSourceOmDetailVO;
import com.hopes.bizz.basic.hazard.source.vo.HazHazardSourceOmVO;
import com.hopes.boss.common.service.ExcelService;

import java.util.List;

/**
 * 重大危险源
 *
 * @author daijie
 * @date 2023-10-25 11:00:10
 */
public interface HazHazardSourceService extends ExcelService<HazHazardSourceExcelDTO, HazHazardSourceExcelVO, HazHazardSourceEntity> {

    /**
     * 分页查询
     * @param page
     * @param hazHazardSource
     * @return
     */
    Page getHazHazardSourceOmPage(Page page, HazHazardSourceEntity hazHazardSource);

    /**
     * GIS 实时监控
     * @return
     */
    List<HazHazardSourceOmVO> gisOm();

    /**
     * 通过id查询实时监控详情
     * @param id
     * @return
     */
    HazHazardSourceOmDetailVO getOmById(Long id);
    /**
     * 危险源隐患统计*
     * @return
     */
    HazHazardSourceGisVO getHazardSourceLevel();

    /**
     * 危险源分级统计
     * @return 结果
     */
    HazLevelTotalVO hazardSourceLevelCount();

    /**
     * 传感器监测数量统计
     * @return 结果
     */
    List<HazSensorClassifyVO> hazardSensorClassifyCount();

    /**
     * 视频监控
     * @return 结果
     */
    HazVideoVO hazardVideoNumberCount();
}
